#pragma once
#include "s:\documents\visual studio 2010\projects\masyu_svn\trunk\masyu3\processor.h"
#include "QueueManager.h"
class CellProcessor :
	public Processor
{
private:
	boost::condition_variable* cellAddedtoQmQ;
	boost::condition_variable* doJob;
	boost::condition_variable* jobDone;
	queue<Cell*>* jobQ;
protected:
	void ProcessingLogic();
public:
	CellProcessor(boost::condition_variable* _cellAddedtoQmQ, boost::condition_variable* _doJob, boost::condition_variable* _jobDone, queue<Cell*>* _jobQ) :
	  cellAddedtoQmQ(_cellAddedtoQmQ), doJob(_doJob), jobDone(_jobDone), jobQ(_jobQ) { startThread(); };
	virtual ~CellProcessor(void);
	

};

